home *** CD-ROM | disk | FTP | other *** search
- Path: sm1.psy.soton.ac.uk!user
- From: at@neuro.psy.soton.ac.uk (Adriaan Tijsseling)
- Newsgroups: comp.lang.c
- Subject: Shuffle
- Date: Tue, 16 Jan 1996 12:12:28 +0000
- Organization: Electronics and Computer Science, University of Southampton
- Message-ID: <at-1601961212280001@sm1.psy.soton.ac.uk>
- NNTP-Posting-Host: sm1.psy.soton.ac.uk
-
- Hi,
-
-
- For my neural network simulator I need a piece of code which shuffles
- a set of n patterns in a random way. I.e. a set of 4 patterns would
- then be shuffled such that I have a set of m orders of these patterns:
-
- 1 2 3 4
- 4 3 1 2
- 2 1 3 4
- etc.
-
-
- Any help would be greatly appreciated,
-
- Many thanks in advance,
-
- ______________________________________________________________
-
- /\ _| _. _ _ _ ~|~.. _ _ _ |. _ _
- /~~\(_|| |(_|(_|| | | ||_\_\(/_||| |(_|
- | _|
- Work:
- Cognitive Sciences Centre
- Department of Psychology
- University of Southampton
- United Kingdom
-
- Homepages:
- work: http://www.soton.ac.uk/~coglab/coglab
- life: http://www.soton.ac.uk/~agt/
-
- E-mail:
- at@neuro.psy.soton.ac.uk
- at@cogsci.ecs.soton.ac.uk
- agt@oak.soton.ac.uk
- ______________________________________________________________
-
- --
- http://www.soton.ac.uk/~agt/
- http://www.soton.ac.uk/~coglab/coglab/
-